package com.emenu.common;

import android.app.AlertDialog;
import android.content.Context;
import android.widget.Toast;

public class Common {
	//弹出关闭框
	public static void alertFinish(Context ct,String msg) {
		Toast.makeText(ct, msg, Toast.LENGTH_SHORT).show();
	}
	//弹出关闭框,长时间
	public static void alertFinishLong(Context ct,String msg) {
		Toast.makeText(ct, msg, Toast.LENGTH_LONG).show();
	}
	//弹出关闭框
	public static void alertalam(Context ct,String title,String msg) {
	new  AlertDialog.Builder( ct ).setTitle( title ).setMessage(msg)
    .setPositiveButton( " 关闭 " ,  null ).show();
	}
 
	
}
